package com.cskaoyan.bean.vo.admin.promotion;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
 * @Auther:王贲
 * @Date:2022/9/7
 * @Description:
 * @VERSON:1.8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminAdDeleteVO<T> {

    int errno;

    String errmsg;


    public static <T> AdminAdDeleteVO ok(String errmsg) {
        AdminAdDeleteVO<Object> deleteVO = new AdminAdDeleteVO<>();
        deleteVO.setErrno(0);
        deleteVO.setErrmsg("成功");
        return deleteVO;
    }
}
